package com.vca.service.dao.talk;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vca.common.model.talk.Talk;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 讲座表 Mapper 接口
 * </p>
 *
 * @author chenBing
 * @since 2022-11-03
 */
public interface TalkDao extends BaseMapper<Talk> {

    /**
     * 模糊查询讲座
     * @return
     */
    List<Integer> fuzzySearch(@Param("keyword")String keyword);

    List<Talk> getTalks(@Param("ids") List<Long> ids);

}
